package ModelLayer;
import java.util.*;

public class Invoice {
	private String invoiceNo;
	private Date paymentDate;
	private double totalPrice;
	private double discount;
	
	public Invoice(String invoiceNo) {
		this.invoiceNo = invoiceNo;
		paymentDate = null;
		totalPrice = 0;
		discount = 0;
	}

	public Date getPaymentDate() {
		return paymentDate;
	}

	public void setPaymentDate(Date paymentDate) {
		this.paymentDate = paymentDate;
	}

	public double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public double getDiscount() {
		return discount;
	}

	public void setDiscount(double discount) {
		this.discount = discount;
	}

	public String getInvoiceNo() {
		return invoiceNo;
	}
	
	//No setInvoiceNo() method - not needed, set in constructor
}